import request from '/@/request/https'
import { AxiosPromise } from 'axios'

export interface submitParam {
    credential: string
}


// 邀请客户
export function createInspectionTask(data): AxiosPromise {
    return request({
        url:"/inspectionTask/createInspectionTask",
        method: 'post',
        data
    })
}

// 再次邀请
export function inviteAgain(data): AxiosPromise {

    return request({
        url:"/inspectionTask/inviteAgain",
        method: 'post',
        data
    })
}
